package com.k8s.base.repository;

import com.k8s.base.domain.SettingStruct;
import org.springframework.data.jpa.repository.*;

import java.util.List;

/**
 * Spring Data JPA repository for the SettingStruct entity.
 */
@SuppressWarnings("unused")
public interface SettingStructRepository extends JpaRepository<SettingStruct,Long>,JpaSpecificationExecutor<SettingStruct> {
    SettingStruct findOneByName(String name);
    List<SettingStruct> findAllByFrontendAccessibleScopeLike(String scopeLikes);
    List<SettingStruct> findAllByNameLike(String nameLikes);
    List<SettingStruct> findAllByFrontendAccessibleScopeLikeAndNameLike(String scopeLikes, String nameLikes);
}
